Installation
Let's dive into NestCLI and get up to speed in less than 5 minutes!
#
PrerequisitesBefore you begin, make sure you have the following installed:
Node.js
NestCLI requires Node.js to be installed. If you don’t have it yet, download and install it from here.Yarn
Yarn is an alternative package manager that can be used to install NestCLI. You can install it by running:npm install -g yarn
Or you can download it from here.
#
Getting StartedYou can install NestCLI globally using either npm
or Yarn
. Here’s how:
#
Using npm:npm install -g nest-cli
#
Using Yarn:yarn global add nest-cli
#
Verify InstallationTo ensure that NestCLI was installed successfully, you can check the version by running:
nest --version
This will display the currently installed version of NestCLI.